import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

//引入 createPinia
import { createPinia } from 'pinia'
// 引入持久化插件
import piniaPluginPersists from 'pinia-plugin-persist'

let store = createPinia()
store.use(piniaPluginPersists)

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

createApp(App).use(store).use(ElementPlus).use(router).mount('#app')
